package com.wlx.file.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @author: Admin
 * @date: 2021/3/2
 * @description:
 * @copyright: 重庆万蓝兴科技有限公司
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "fdfs")
public class FastFileProperties {

    /**
     * 域名或本机访问地址
     */
    public String domain;

    private long soTimeout;
    private long connectTimeout;
    private String trackerList;


    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public long getSoTimeout() {
        return soTimeout;
    }

    public void setSoTimeout(long soTimeout) {
        this.soTimeout = soTimeout;
    }

    public long getConnectTimeout() {
        return connectTimeout;
    }

    public void setConnectTimeout(long connectTimeout) {
        this.connectTimeout = connectTimeout;
    }

    public String getTrackerList() {
        return trackerList;
    }

    public void setTrackerList(String trackerList) {
        this.trackerList = trackerList;
    }
}
